<div class="breadcrum">
    <p>
        <a href="{$config->site_url('master/overview')}">Master</a>
        <span></span><a href="{$config->site_url('master/ruang')}">Ruang</a>
        <span></span><small>Hapus Data {$result.ruang_name|default:''}</small> 
    </p>
    <div class="clear"></div>
</div>  
<div class="sub-content">  
    <div class="navigation">  
        <div class="navigation-button">
            <ul>
                <li><a href="{$config->site_url('master/ruang/add')}"><img alt="" src="{$BASEURL}/resource/doc/images/icon/add-icon.png">Tambah Data</a></li>
                <li><a href="{$config->site_url('master/ruang')}"><img alt="" src="{$BASEURL}/resource/doc/images/icon/icon.notes.blue.png">Daftar Data</a></li> 
            </ul>
            <div class="clear"></div>
        </div>
    </div> 
    <!-- notification template -->
    {include file="base/templates/notification.html"}
    <!-- end of notification template--> 
    <form action="{$config->site_url('master/ruang/delete_process')}" method="post">
        <input type="hidden" value="{$result.ruang_cd|default:''}" name="ruang_cd">
        <table width="100%" class="table-input">
            <tbody>
                <tr class="headrow">
                    <th colspan="2">Hapus Ruang</th>
                </tr> 
                <tr>
                    <td width="15%">Kode</td>
                    <td>{$result.ruang_cd|default:''}</td> 
                </tr>
                <tr>
                    <td>Nomor</td>
                    <td>{$result.ruang_nomor|default:''}</td> 
                </tr> 
                <tr>
                    <td>Nama</td>
                    <td>{$result.ruang_name|default:''}</td> 
                </tr> 
                <tr>
                    <td>Pemilik Ruang</td>
                    <td> 
                        {foreach from=$rs_milik key=no item=result_data}
                            {if $result.milik_cd|default:'' eq $result_data.milik_cd}
                                {$result_data.milik_name}
                            {/if}
                        {/foreach} 
                    </td> 
                </tr> 
                <tr>
                    <td>Tipe Ruang</td>
                    <td>{if $result.ruang_type|default:'' eq 'kantor'}Kantor{else}Kelas{/if}</td> 
                </tr> 
                <tr class="submit-box">
                    <td colspan="2">
                        <input type="submit" class="edit-button" value="Hapus" name="save[insert]"> 
                    </td>
                </tr>
            </tbody>
        </table>
    </form> 
</div>